package edu.sctu.alex.projectPratice.subwaysystem.data;

import java.util.HashMap;
import java.util.Random;

/**
 * Created by user03 on 2015/6/2.
 */
public class SetTrainData {

    Random random  = new Random();


    public boolean is_thief;

    public boolean is_problem;

    public  boolean setthief(){

        is_thief = random.nextBoolean();
        return is_thief;
    }

    public boolean setProblem(){
        is_problem = random.nextBoolean();
        return  is_problem;

    }

    public HashMap<String, Integer> setHashMapData() {


        HashMap<String, Integer> map = new HashMap<String, Integer>();

        map.put("犀浦", 1);
        map.put("茶店子", 2);
        map.put("一品天下", 3);
        map.put("蜀汉路", 4);
        map.put("天府广场", 5);
        map.put("东大路", 6);
        map.put("成渝立交", 7);
        map.put("惠王陵", 8);
        map.put("成都行政学院", 9);
        map.put("书房", 10);
        map.put("龙泉", 11);
        return map;
    }



}
